/*
 * ghole.cc
 *
 *  Created on: Sep 25, 2012
 *      Author: shaohong
 */

#include "ghole.hh"

using namespace std;

GolfHole::GolfHole(size_t par, size_t hcp) {
	this->par = par;
	this->hcp = hcp;
}

size_t GolfHole::getPar() const {
	return par;
}

size_t GolfHole::getHcp() const {
	return hcp;
}

std::istream& operator>> (std::istream& in, GolfHole& hole){
	in >> hole.par >> hole.hcp;
	return in;
}

